home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Disc to the Future 2
/
Disc to the Future Part II Programmer's Reference (Wayzata Technology)(6013)(1992).bin
/
MAC
/
THINKC
/
4_0
/
NEWTEXTF
/
SOURCE_C
/
SENDHCME.C
< prev
Wrap
C/C++ Source or Header
|
1990-08-24
|
318b
|
13 lines
#include "HyperCard.h"
Boolean SendHCMessage (XCmdBlockPtr paramPtr, char *cstr)
{Str255 pstr;
if (!(*cstr) || CLength (cstr) > 255L)
return (false);
CToP (cstr, pstr);
paramPtr->inArgs [0] = (long) pstr;
paramPtr->request = 5;
(*paramPtr->entryPoint) ();
return (!(paramPtr->result));}